package FactoryMethod;




/**
 * 实例产品-1工厂
 * Created by Garden on 2019/5/13.
 */
public class ProductOneFactory extends AbstractProductFactory{
    @Override
    AbstractProduct makeProduct() {
        //此处可逻辑条件化创建对象
        return new ProductOne();
    }
}
